package com.haiya.factory.simple.basic;

/**
 * @author qiaoguoqiang
 */
public class Client {

    public static void main(String[] args) {
        SimpleFactory factory = new SimpleFactory();

        Product product1 = factory.makeProduct("product1");
        product1.show();

        Product product2 = factory.makeProduct("product2");
        product2.show();
    }
}
